home *** CD-ROM | disk | FTP | other *** search
/ Apple WWDC 1996 / WWDC96_1996 (CD).toast / Technology Materials / MacOS 8 Resources / Developer Tools / Mac OS 8 Interfaces & Libraries / Interfaces / CIncludes / FileTransferTools.h < prev    next >
C/C++ Source or Header  |  1996-05-01  |  2KB  |  112 lines

  1. /*
  2.      File:        FileTransferTools.h
  3.  
  4.      Contains:    CommToolbox File Transfer Tools Interfaces.
  5.  
  6.      Version:    Technology:    System 7.5
  7.                  Release:    Universal Interfaces 3.0d3 on Copland DR1
  8.  
  9.      Copyright:    © 1984-1996 by Apple Computer, Inc.  All rights reserved.
  10.  
  11.      Bugs?:        If you find a problem with this file, send the file and version
  12.                  information (from above) and the problem description to:
  13.  
  14.                      Internet:    apple.bugs@applelink.apple.com
  15.                      AppleLink:    APPLE.BUGS
  16.  
  17. */
  18. #ifndef __FILETRANSFERTOOLS__
  19. #define __FILETRANSFERTOOLS__
  20.  
  21. #ifndef __DIALOGS__
  22. #include <Dialogs.h>
  23. #endif
  24. #ifndef __FILETRANSFERS__
  25. #include <FileTransfers.h>
  26. #endif
  27.  
  28. #ifdef __cplusplus
  29. extern "C" {
  30. #endif
  31.  
  32. #if PRAGMA_IMPORT_SUPPORTED
  33. #pragma import on
  34. #endif
  35.  
  36. #if PRAGMA_ALIGN_SUPPORTED
  37. #pragma options align=mac68k
  38. #endif
  39.  
  40. #if FOR_SYSTEM7_ONLY
  41.  
  42. enum {
  43.                                                                 /* DEFs */
  44.     fdefType                    = 'fdef',
  45.     fsetType                    = 'fset',
  46.     fvalType                    = 'fval',
  47.     flocType                    = 'floc',
  48.     fscrType                    = 'fscr',
  49.     fbndType                    = 'fbnd',
  50.     fverType                    = 'vers'
  51. };
  52.  
  53.  
  54. enum {
  55.                                                                 /* control */
  56.     ftInitMsg                    = 0,
  57.     ftDisposeMsg                = 1,
  58.     ftSuspendMsg                = 2,
  59.     ftResumeMsg                    = 3,
  60.     ftMenuMsg                    = 4,
  61.     ftEventMsg                    = 5,
  62.     ftActivateMsg                = 6,
  63.     ftDeactivateMsg                = 7,
  64.     ftGetErrorStringMsg            = 8,
  65.     ftAbortMsg                    = 52,
  66.     ftStartMsg                    = 100,
  67.     ftExecMsg                    = 102,
  68.     ftSendMsg                    = 103,
  69.     ftReceiveMsg                = 104,                            /* setup */
  70.     ftSpreflightMsg                = 0,
  71.     ftSsetupMsg                    = 1,
  72.     ftSitemMsg                    = 2,
  73.     ftSfilterMsg                = 3,
  74.     ftScleanupMsg                = 4,                            /* validate */
  75.     ftValidateMsg                = 0
  76. };
  77.  
  78.  
  79. enum {
  80.     ftDefaultMsg                = 1,                            /* scripting */
  81.     ftMgetMsg                    = 0,
  82.     ftMsetMsg                    = 1,                            /* localization */
  83.     ftL2English                    = 0,
  84.     ftL2Intl                    = 1
  85. };
  86.  
  87. struct FTSetupStruct {
  88.     DialogPtr                         theDialog;                    /* the dialog form the application */
  89.     short                             count;                        /* first appended item */
  90.     Ptr                             theConfig;                    /* the config record to setup */
  91.     short                             procID;                        /* procID of the tool */
  92. };
  93. typedef struct FTSetupStruct FTSetupStruct;
  94.  
  95. typedef FTSetupStruct *FTSetupPtr;
  96. #endif
  97.  
  98. #if PRAGMA_ALIGN_SUPPORTED
  99. #pragma options align=reset
  100. #endif
  101.  
  102. #if PRAGMA_IMPORT_SUPPORTED
  103. #pragma import off
  104. #endif
  105.  
  106. #ifdef __cplusplus
  107. }
  108. #endif
  109.  
  110. #endif /* __FILETRANSFERTOOLS__ */
  111.  
  112.